﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Crude.Common
{
    public interface IRemoteRepository
    {
        ProjectObjectModel GetProjectObjectModel(ProjectDependency projectDependency);

        void DownloadAssmebly(ProjectObjectModel pom);

        void UploadProject(string pomFileLocation, string sourceDirectory, ProjectObjectModel pom);

        void UploadProject(string pomFileLocation, string sourceDirectory, ProjectObjectModel pom, string configuration);

        IList<ProjectObjectModel> GetProjectAvailableVersions(string projectName);

        IList<string> GetAllProjectNames();

        DateTime GetProjectBuildDate(ProjectObjectModel pom, string configuration);
    }
}
